// import request from "../utils/request";
import request from "@/utils/request";

enum Api {
  getSongListCategoriesUrl = "/getSongListCategories",
  getSongListsUrl = "/getSongLists",
  
}

export const getSongListCategoriesApi = () => {
  return request.get<any, any>(Api.getSongListCategoriesUrl);
};
export const getSongListsApi = (categoryId:number) => {
  return request.get<any, any>(Api.getSongListsUrl+`?categoryId=${categoryId}`);
};
